package cn.tedu.douguo.user.pojo.entity;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import javax.validation.constraints.NotNull;

import java.io.Serializable;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

/**
* 菜谱的食材
* @TableName cms_recipe_ingredients
*/
@TableName(value ="cms_recipe_ingredients")
@Data
@Accessors(chain = true)
public class RecipeIngredients implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
    * 
    */
    @TableField(value = "recipe_id")
    private Long recipeId;
    /**
    * 食材
    */
    private String ingredients;
    /**
    * 发表日期
    */
    @TableField(value = "gmt_create")
    private Date gmtCreate;
    /**
    * 修改日期
    */
    @TableField(value = "gmt_modified")
    private Date gmtModified;


}
